package cn.code.mycloud.module.system.controller.admin.usergrid.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 用户和网格关联新增/修改 Request VO")
@Data
public class UserGridSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "11715")
    private Long id;

    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "781")
    @NotNull(message = "用户ID不能为空")
    private Long userId;

    @Schema(description = "网格ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "25594")
    @NotNull(message = "网格ID不能为空")
    private Long gridId;

}